<?php
class DB_Result {
	private $result;
	
	public function __construct($result){
		$this->result = $result;
	}
	
	public function FetchRow(){
		return mysql_fetch_row($this->result);
	}
	
	public function FetchAssoc(){
		return mysql_fetch_assoc($this->result);
	}
	
	public function FetchObject(){
		return mysql_fetch_object($this->result);
	}
	
	public function NumRows(){
		return mysql_num_rows($this->result);
	}
}
?>